home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
023a
/
prop_man.zip
/
5DAY.SAB
< prev
next >
Wrap
Text File
|
1991-09-16
|
3KB
|
90 lines
SET MESSAGES OFF
LABEL START
CLEAR ALL V
CLS
display cp.dis
write "5DAY.SAB" AT 2,36
WRITE "FIVE DAY QUIT OR PAY NOTICE" AT 4,27
FILLIN Y/N USING "Include Water Bills? (Y/N) [or <ESC>] " AT 5,1
if y/n = " " then ; goto stop ; endif
IF Y/N = "Y" OR Y/N = "N" THEN ; goto fill ; else ; goto start ; endif
LABEL FILL
FILLIN ADDCODE USING "Address Code............... --> " AT 7,1
set v nam to tenant1 in cur.mast where add.code = .addcode
set v adr to address in cur.mast where add.code = .addcode
set v tod to tot.due in cur.mast where add.code = .addcode
set v pfd to fivedate in cur.mast where add.code = .addcode
write .nam at 9,1
write .tod at 9,40
write .adr at 10,1
write "Last Five Day Q.O.P. Issued...... " at 11,1
write .pfd at 11,36
SET V DUEDATE TEXT
FILLIN DUEDATE USING "Payment Was Due On Or Before --> " AT 13,1
label agn2
set v nmr to ""
fillin nmr using "Include This Month's Rent? --> " at 14,1
label ask
set v prnt to ""
fillin prnt using "(P)rint, (R)edo or (Q)uit --> " at 15,1
if prnt = "p" then ; goto print ; endif
if prnt = "r" then ; cls ; goto fill ; endif
if prnt = "q" then ; cls ; goto ender ; endif
write " " at 15,1
cls ; goto ask
label print
IF Y/N = "Y" THEN
GOTO WATER
ENDIF
set null " "
if nmr = "n" or nmr = "no" then ; goto qopn1 ; endif
OUTPUT PRINTER
PRINT QOP WHERE ADD.CODE = .ADDCODE
NEWPAGE
PRINT QOP WHERE ADD.CODE = .ADDCODE
NEWPAGE
GOTO END
label qopn1
out pri
print qopn where add.code = .addcode
newpage
print qopn where add.code = .addcode
newpage
out scr
goto end
LABEL WATER
set null " "
if nmr = "n" or nmr = "no" then ; goto qopn2 ; endif
OUTPUT PRINTER
PRINT QOP2 WHERE ADD.CODE = .ADDCODE
NEWPAGE
PRINT QOP2 WHERE ADD.CODE = .ADDCODE
NEWPAGE
goto end
label qopn2
out pri
print qopn2 where add.code = .addcode
newpage
print qopn2 where add.code = .addcode
newpage
out scr
LABEL END
OUTPUT SCREEN
set null "-0-"
CHANGE QOP TO "Y" IN CUR.MAST WHERE ADD.CODE = .ADDCODE
CHANGE REASON TO "Five Day Q.O.P. Expired Today" IN CUR.MAST WHERE +
add.code = .addcode
CHANGE REC.CALL TO (.#DATE + 5) IN CUR.MAST WHERE ADD.CODE = .ADDCODE
CHANGE EXP.DATE TO (.#DATE + 15) IN CUR.MAST WHERE ADD.CODE = .ADDCODE
change sus.vac to "5" in cur.mast where add.code = .addcode
change fivedate to .#date in cur.mast where add.code = .addcode
label ender
cls
FILLIN Y/N USING "Would You Like To Run '5DAY.SAB' Again? " AT 12,19
IF Y/N = "Y" THEN
GOTO START
ENDIF
label stop
return